package com.yh.util;

import java.text.SimpleDateFormat;
import java.util.Date;



public class DateUtil {

	private  static Date date = new Date();
	private static SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd hh-mm-ss");
	
	public static String getCurrentDate(){
		String currentDate = simpleDateFormat.format(date);
		return currentDate;
	}
	
}
